package shared.tsPojo

import upickle.default._

/**
 * Created by yz on 6/6/2022
 */
object Tool {

  object Png2jpeg {

    case class Request(base64: String)

    implicit val requestRw = macroRW[Request]

    case class Response(valid: Boolean, base64: String = "", message: String = "", geneData: String = "")

    implicit val responseRw = macroRW[Response]

  }

}
